import request from '@/utils/request'

export default {
  getCommentByAid(answerId) {
    return request({
      url: '/qa/comment/detail/' + answerId,
      method: 'get',
    })
  },
  addComment(comment) {
    return request({
      url: '/qa/comment/add',
      method: 'post',
      data:comment
    })
  },
}
